package gwtappcontainer.client.mydetails;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.DisclosurePanel;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

class MyDetailsView extends Composite implements MyDetailsPresenter.IView {

	private static MyDetailsViewUiBinder uiBinder = GWT
			.create(MyDetailsViewUiBinder.class);

	interface MyDetailsViewUiBinder extends UiBinder<Widget, MyDetailsView> {
	}

	MyDetailsView() {
		initWidget(uiBinder.createAndBindUi(this));
		
		programsFlexTable.setWidget(0, 0, new Label("Program"));
		programsFlexTable.setWidget(0, 1, new Label("Teacher"));
		programsFlexTable.setWidget(0, 2, new Label("Month"));
		programsFlexTable.setWidget(0, 3, new Label("Year"));
		programsFlexTable.setWidget(0, 5, new Label("Venue"));
		
		
	}
	
	@UiField DisclosurePanel contactDetailsDP;
	@UiField FlexTable programsFlexTable;
}
